import _import from "./_import";
import { RouterMeta } from "./app";
export const TaskRouters = [
    {
        path: "mine",
        component: _import("task-manage/src/home.vue"),
        name: "TaskManageMine",
        meta: {
            title: "我创建的任务",
            requiresAuth: true,
            isMenu: true,
            roles: ["TaskManageMine"]
        } as RouterMeta
    },
    {
        path: "receive",
        component: _import("task-manage/src/home.vue"),
        name: "TaskManageReceive",
        meta: {
            title: "待审批",
            requiresAuth: true,
            isMenu: true,
            roles: ["TaskManageReceive"]
        } as RouterMeta
    },
    {
        path: "info",
        component: _import("task-manage/src/detail.vue"),
        name: "TaskInfo",
        meta: {
            title: "任务详情",
            requiresAuth: true,
            isMenu: false,
            roles: ["TaskManageMine", "TaskManageReceive"]
        } as RouterMeta
    },
    {
        path: "process-info",
        component: _import("task-manage/src/process-info.vue"),
        name: "TaskInfoProcessInfo",
        meta: {
            title: "流程详情",
            requiresAuth: true,
            isMenu: false,
            roles: ["TaskManageMine", "TaskManageReceive"]
        } as RouterMeta
    }
];
